<?php
    header("Content-Type:text/plain;charset=UTF-8");
	$email=$_REQUEST["email"];

	$conn=mysqli_connect("127.0.0.1","root","","jolly",3306);


	$sql="SET NAMES UTF8";
	mysqli_query($conn,$sql);


	$sql="INSERT INTO users VALUES(NULL,'$email','123456')";
	$result=mysqli_query($conn,$sql);

	if ($result){
		echo "$email";
	}else{
		echo "注册失败";
	}
?>